	.file	"tests/m3/callingSimpleFunction.bal"
	.text
	.globl	simpleSum
	.align	16, 0x90
	.type	simpleSum,@function
simpleSum:                              # @simpleSum
.Leh_func_begin1:
# BB#0:                                 # %entry
	movl	%edi, %eax
	addl	%esi, %eax
	ret
	.size	simpleSum, .-simpleSum
.Leh_func_end1:

	.globl	main
	.align	16, 0x90
	.type	main,@function
main:                                   # @main
.Leh_func_begin2:
# BB#0:                                 # %entry
	pushq	%rbp
.Llabel1:
	pushq	%r15
.Llabel2:
	pushq	%r14
.Llabel3:
	pushq	%r13
.Llabel4:
	pushq	%r12
.Llabel5:
	pushq	%rbx
.Llabel6:
	subq	$8, %rsp
.Llabel7:
	movl	$0, 4(%rsp)
	movl	$0, (%rsp)
	movl	$.L.fmt_s, %edi
	movl	$.L__unnamed_1, %esi
	xorb	%al, %al
	callq	printf
	movl	$.L.fmt_d, %edi
	leaq	4(%rsp), %rsi
	xorb	%al, %al
	callq	scanf
	movl	$1000, %ebx             # imm = 0x3E8
	.align	16, 0x90
.LBB2_1:                                # %eventually.true
                                        # =>This Inner Loop Header: Depth=1
	movl	4(%rsp), %esi
	imull	%ebx, %esi
	movl	$3, %edi
	callq	simpleSum
	movl	%eax, (%rsp,%rbx,4)
	decq	%rbx
	testl	%ebx, %ebx
	jne	.LBB2_1
# BB#2:                                 # %eventually.check.eventually.check10_crit_edge.eventually.true9_crit_edge
	movl	$1000, %ebx             # imm = 0x3E8
	movl	$.L.fmt_s, %r14d
	movl	$.L__unnamed_2, %r15d
	movl	$.L.fmt_d, %r12d
	movl	$.L__unnamed_3, %r13d
	movl	$.L__unnamed_4, %ebp
	.align	16, 0x90
.LBB2_3:                                # %eventually.true9
                                        # =>This Inner Loop Header: Depth=1
	movl	$.L.fmt_s, %edi
	movq	%r15, %rsi
	xorb	%al, %al
	callq	printf
	movl	%ebx, %esi
	movl	$.L.fmt_d, %edi
	xorb	%al, %al
	callq	printf
	movl	$.L.fmt_s, %edi
	movq	%r13, %rsi
	xorb	%al, %al
	callq	printf
	movl	(%rsp,%rbx,4), %esi
	movq	%r12, %rdi
	xorb	%al, %al
	callq	printf
	movq	%r14, %rdi
	movq	%rbp, %rsi
	xorb	%al, %al
	callq	printf
	decq	%rbx
	testl	%ebx, %ebx
	jne	.LBB2_3
# BB#4:                                 # %eventually.merge8
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	ret
	.size	main, .-main
.Leh_func_end2:

	.type	.L.fmt_d,@object
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.fmt_d:                               # @.fmt_d
	.asciz	 "%d"
	.size	.L.fmt_d, 3

	.type	.L.io.error,@object
	.section	.rodata.str1.16,"aMS",@progbits,1
.L.io.error:                            # @.io.error
	.asciz	 "IOError: Could not read integer from standard input!"
	.size	.L.io.error, 53

	.type	.L.fmt_s,@object
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.fmt_s:                               # @.fmt_s
	.asciz	 "%s"
	.size	.L.fmt_s, 3

	.type	.L.fmt_c,@object
.L.fmt_c:                               # @.fmt_c
	.asciz	 "'%c'"
	.size	.L.fmt_c, 5

	.type	.L__unnamed_1,@object
	.section	.rodata.str1.16,"aMS",@progbits,1
.L__unnamed_1:                          # @0
	.asciz	 "Tell me a number\n> "
	.size	.L__unnamed_1, 20

	.type	.L__unnamed_2,@object
	.section	.rodata.str1.1,"aMS",@progbits,1
.L__unnamed_2:                          # @1
	.asciz	 "arr's "
	.size	.L__unnamed_2, 7

	.type	.L__unnamed_3,@object
.L__unnamed_3:                          # @2
	.asciz	 " piece is "
	.size	.L__unnamed_3, 11

	.type	.L__unnamed_4,@object
.L__unnamed_4:                          # @3
	.asciz	 "\n"
	.size	.L__unnamed_4, 2

	.section	.eh_frame,"aw",@progbits
.LEH_frame0:
.Lsection_eh_frame:
.Leh_frame_common:
	.set	.Lset1eh,.Leh_frame_common_end-.Leh_frame_common_begin
	.long	.Lset1eh                # Length of Common Information Entry
.Leh_frame_common_begin:
	.long	0                       # CIE Identifier Tag
	.byte	1                       # DW_CIE_VERSION
	.asciz	 "zR"
                                        # CIE Augmentation
	.uleb128	1               # CIE Code Alignment Factor
	.sleb128	-8              # CIE Data Alignment Factor
	.byte	16
                                        # CIE Return Address Column
	.uleb128	1               # Augmentation Size
	.byte	3                       # FDE Encoding = udata4
	.byte	12                      # CFA_def_cfa
	.uleb128	7               # Register
	.uleb128	8               # Offset
	.byte	144                     # DW_CFA_offset + Reg (16)
	.uleb128	1               # Offset
	.align	8
.Leh_frame_common_end:

.LsimpleSum.eh = 0

.Lmain.eh:
	.set	.Lset2eh,.Leh_frame_end2-.Leh_frame_begin2
	.long	.Lset2eh                # Length of Frame Information Entry
.Leh_frame_begin2:
	.long	.Leh_frame_begin2-.Leh_frame_common # FDE CIE offset
	.long	.Leh_func_begin2        # FDE initial location
	.set	.Lset3eh,.Leh_func_end2-.Leh_func_begin2
	.long	.Lset3eh                # FDE address range
	.uleb128	0               # Augmentation size
	.byte	4                       # CFA_advance_loc4
	.set	.Lset4eh,.Llabel1-.Leh_func_begin2
	.long	.Lset4eh
	.byte	14                      # CFA_def_cfa_offset
	.uleb128	16              # Offset
	.byte	4                       # CFA_advance_loc4
	.set	.Lset5eh,.Llabel2-.Llabel1
	.long	.Lset5eh
	.byte	14                      # CFA_def_cfa_offset
	.uleb128	24              # Offset
	.byte	4                       # CFA_advance_loc4
	.set	.Lset6eh,.Llabel3-.Llabel2
	.long	.Lset6eh
	.byte	14                      # CFA_def_cfa_offset
	.uleb128	32              # Offset
	.byte	4                       # CFA_advance_loc4
	.set	.Lset7eh,.Llabel4-.Llabel3
	.long	.Lset7eh
	.byte	14                      # CFA_def_cfa_offset
	.uleb128	40              # Offset
	.byte	4                       # CFA_advance_loc4
	.set	.Lset8eh,.Llabel5-.Llabel4
	.long	.Lset8eh
	.byte	14                      # CFA_def_cfa_offset
	.uleb128	48              # Offset
	.byte	4                       # CFA_advance_loc4
	.set	.Lset9eh,.Llabel6-.Llabel5
	.long	.Lset9eh
	.byte	14                      # CFA_def_cfa_offset
	.uleb128	56              # Offset
	.byte	4                       # CFA_advance_loc4
	.set	.Lset10eh,.Llabel7-.Llabel6
	.long	.Lset10eh
	.byte	14                      # CFA_def_cfa_offset
	.uleb128	64              # Offset
	.byte	131                     # DW_CFA_offset + Reg (3)
	.uleb128	7               # Offset
	.byte	140                     # DW_CFA_offset + Reg (12)
	.uleb128	6               # Offset
	.byte	141                     # DW_CFA_offset + Reg (13)
	.uleb128	5               # Offset
	.byte	142                     # DW_CFA_offset + Reg (14)
	.uleb128	4               # Offset
	.byte	143                     # DW_CFA_offset + Reg (15)
	.uleb128	3               # Offset
	.byte	134                     # DW_CFA_offset + Reg (6)
	.uleb128	2               # Offset
	.align	8
.Leh_frame_end2:


	.section	.note.GNU-stack,"",@progbits
